/**
 * 
 */
package net.homeip.mmhg.events;

/**
 * The simplest implementation of event.
 * Keeps information only event type.
 * 
 * @author ilya gerasimov
 */
public class BaseEvent implements Event {

	private EventType type;
	
	public BaseEvent(EventType type) {
		this.type = type;
	}
	
	/* (non-Javadoc)
	 * @see net.homeip.mmhg.events.Event#getType()
	 */
	@Override
	public EventType getType() {
		return type;
	}

}
